<template>
  <div>
    <p>AAAA</p>
    <button @click="$globalEventBus.$emit('update')">update</button>
  </div>
</template>

<script>
export default {
  name: "A",
  // mounted() {
  //   console.log(this.$globalEventBus);
  // },
};
</script>

<style>
</style>